package cn.huangsm.advance.login;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

//import com.qq.connect.QQConnectException;
//import com.qq.connect.oauth.Oauth;

@Controller
public class RedirectController {
//	@RequestMapping("/qqSdkLogin")
//	public String qqSdkLogin(HttpServletRequest request, HttpServletResponse response, HttpSession httpSession)
//			throws QQConnectException {
//		String authorizeUrl = new Oauth().getAuthorizeURL(request);
//		System.out.println(authorizeUrl);
//		return "redirect:" + authorizeUrl;
//	}

}
